<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/main.css" /> 
		<link rel="stylesheet" type="text/css" href="../css/index.css" />
		<!-- 引入组件 -->
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/vant.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<header>
				<van-nav-bar title="注册用户" left-text="返回" @click-left="onClickLeft" left-arrow style="background-color: red;">
					<!-- <van-icon name="search" slot="right"></van-icon> -->
				</van-nav-bar>
			</header>
			<section>
				<van-cell-group>
					<van-field placeholder="请输入手机号"></van-field>
					<van-field center clearable placeholder="请输入短信验证码">
						<van-button slot="button" size="small" type="primary">发送验证码</van-button>
					</van-field>
					<van-field type="password" placeholder="登录密码(最少6位)"></van-field>
					<van-field type="password" placeholder="确认密码(再次输入登录密码)"></van-field>
					<van-field placeholder="昵称(最多20个字)"></van-field>
					<van-button size="large" style="background-color: red; color: white;">立即注册</van-button>
				</van-cell-group>
			</section>
			<footer></footer>
		</div>
		<script>
			var vm = new Vue({
				el: "#app",
				data: {
					active:1,

				},
				methods: {
					onClickLeft() {
						var gin = plus.webview.create("/views/setting.html", "dd");
						gin.show();
						plus.webview.close(plus.webview.currentWebview());
					},
					onClickRight() {
						Toast('按钮');
					}

				}
			})
		</script>
	</body>
</html>
